﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HU8.Web.FileExplorer.FileExplorer.Default" %>
<%@ Import Namespace="HU8.Web.FileExplorer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register  Src="~/FileExplorer/UserControls/ContentList.ascx" TagName="content_list" TagPrefix="fe" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        <asp:Literal runat="server" ID="litScript"></asp:Literal>
        var lang = {};
    </script>
    <!-- JQuery -->
    <script type="text/javascript" src="Scripts/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="Scripts/jquery-ui-1.8.16.custom.min.js"></script>
    <!-- Context menu -->
    <link type="text/css" rel="Stylesheet" href="Scripts/context_menu/style.css" />
    <script type="text/javascript" src="Scripts/context_menu/jquery.contextmenu.js"></script>
    <!-- Wijmo dialog -->
    <link type="text/css" rel="Stylesheet" href="Scripts/wijmo-dialog/ui-themes/aristo/jquery-wijmo.css" />
    <link type="text/css" rel="Stylesheet" href="Scripts/wijmo-dialog/ui-themes/wijmo/jquery.wijmo.wijdialog.css" />
    <script type="text/javascript" src="Scripts/wijmo-dialog/jquery.wijmo-open.1.4.1.min.js"></script>

    <!-- HU8 Libs -->
    <script type="text/javascript" src="Scripts/hu8.libs.js"></script>
    <!-- HU8 Box -->
    <script type="text/javascript" src="Scripts/hu8-box/languages/<%: config.Language %>.js"></script>
    <script type="text/javascript" src="Scripts/hu8-box/hu8.box.js"></script>
    <!-- HU8 Logs -->
    <script type="text/javascript" src="Scripts/hu8-log/languages/<%: config.Language %>.js"></script>
    <link type="text/css" rel="Stylesheet" href="Scripts/hu8-log/style.css" />
    <script type="text/javascript" src="Scripts/hu8-log/hu8.log.js"></script>
    <!-- HU8 File Explorer -->
    <script type="text/javascript" src="Scripts/hu8-fileexplorer/languages/<%: config.Language %>.js"></script>
    <script type="text/javascript" src="Scripts/hu8-fileexplorer/hu8.fm.v0.2.js"></script>
    <link type="text/css" rel="Stylesheet" href="Scripts/hu8-fileexplorer/style.css"/>
</head>
<body>
    <form id="form1" runat="server">
    <div class="body">
        <div class="header">
            <div class="top-title">
                <div class="top-search">
                    <%: lang.Get("LANGUAGE") %>
                    <asp:Literal runat="server" Text="" ID="ltrLanguage"></asp:Literal>
                    <%: lang.Get("QUICK_SERACH") %><asp:TextBox ID="tbSearchKeyword" runat="server" class="fe-search" />
                </div>
                <h1><asp:Label runat="server" ID="lbAboutTitle"></asp:Label> <asp:Label runat="server" Text="" ID="lbVersion"></asp:Label></h1>
                <div class="clear"></div>
            </div>
            <div class="top-menu">
                <ul class="top-menu-bar">
                    <li><a href="javascript:void(0)" class="cmd-newfile"><%: lang.Get("NEW_FILE")  %></a></li>
                    <li><a href="javascript:void(0)" class="cmd-newdirectory"><%: lang.Get("NEW_FOLDER")  %></a></li>
                    <li class="split"></li>
                    <li><a href="javascript:void(0)" class="cmd-copy"><%: lang.Get("COPY")  %></a></li>
                    <li><a href="javascript:void(0)" class="cmd-cut"><%: lang.Get("MOVE")  %></a></li>
                    <li><a href="javascript:void(0)" class="cmd-delete"><%: lang.Get("DELETE")  %></a></li>
                    <li class="split"></li>
                    <li><a href="javascript:void(0)" class="cmd-upload"><%: lang.Get("UPLOAD")  %></a></li>
                    <li><a href="javascript:void(0)" class="cmd-download"><%: lang.Get("DOWNLOAD")  %></a></li>
                    <li class="split"></li>
                    <li><a href="javascript:void(0)" class="cmd-extract"><%: lang.Get("EXTRACT")  %></a></li>
                    <li><a href="javascript:void(0)" class="cmd-compress"><%: lang.Get("COMPRESS")  %></a></li>
                    <li class="split"></li>
                    
                    <li><a href="<%: VirtualPathUtility.ToAbsolute(config.FileExplorerPath + "/ConfigSystem.aspx") %>" class="cmd-config"><%: lang.Get("CONFIG")  %></a></li>
                    <li><a href="<%: VirtualPathUtility.ToAbsolute(config.FileExplorerPath + "/About.aspx") %>" class="cmd-about"><%: lang.Get("ABOUT")  %></a></li>
                </ul>
            </div>

            <div class="clear"></div>
        </div>
        <div class="main">
            <div class="directory-menu">
                <%: lang.Get("FILE_PATH")%> <asp:TextBox ID="tbCurrentPath" runat="server" CssClass="fe-current-path" /> <a href="javascript:void(0)" class="cmd-jump button"><%: lang.Get("GO_TO_FOLDER")%></a>
                <asp:HiddenField runat="server" ID="hfCurrentPath" Value="" />
            </div>
            <div class="content-menu">
                <ul class="content-menu-bar">
                    <li><a href="javascript:void(0)" class="cmd-selectall"><%: lang.Get("SELECT_ALL")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-home"><%: lang.Get("MAIN_FOLDER")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-uponelevel"><%: lang.Get("UP_ONE_LEVEL")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-back"><%: lang.Get("BACK")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-forward"><%: lang.Get("FORWARD")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-reload"><%: lang.Get("RELOAD")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-change-mode cmd-table-mode" rel="table"><%: lang.Get("DETAIL_VIEW")%></a></li>
                    <li><a href="javascript:void(0)" class="cmd-change-mode cmd-thumb-mode" rel="thumb"><%: lang.Get("THUMB_VIEW")%></a></li>
                    <li class="fe-folder-info"></li>
                </ul>
            </div>
            <div class="content-list">

            </div>
        </div>
    </div>
    </form>
</body>
</html>
